inherited frmTd_Transit_Edit: TfrmTd_Transit_Edit
  Left = 395
  Top = 278
  Caption = #36816#36755#32447#36335#35268#21010
  PixelsPerInch = 96
  TextHeight = 12
  object Label1: TLabel [0]
    Left = 267
    Top = 17
    Width = 60
    Height = 12
    Caption = #32447#36335#21517#31216#65306
    Transparent = True
  end
  object Label2: TLabel [1]
    Left = 13
    Top = 17
    Width = 60
    Height = 12
    Caption = #32447#36335#32534#30721#65306
    Transparent = True
  end
  object Label4: TLabel [2]
    Left = 13
    Top = 52
    Width = 60
    Height = 12
    Caption = #22791'    '#27880#65306
    Transparent = True
  end
  inherited pnlBottom: TPanel
    TabOrder = 4
    inherited Bevel1: TBevel
      ExplicitWidth = 520
    end
    inherited btnOK: TBitBtn
      Left = 602
      Top = 20
      ExplicitLeft = 602
      ExplicitTop = 20
    end
    inherited btnCancel: TBitBtn
      Left = 692
      Top = 20
      ExplicitLeft = 692
      ExplicitTop = 20
    end
    inherited btnContinue: TBitBtn
      Top = 20
      ExplicitTop = 20
    end
    inherited btnPri: TBitBtn
      Top = 20
      ExplicitTop = 20
    end
    inherited btnNext: TBitBtn
      Top = 20
      ExplicitTop = 20
    end
    inherited btnBaseEditSave: TBitBtn
      Top = 20
      ExplicitTop = 20
    end
  end
  object EdtName: TcxDBTextEdit [4]
    Left = 331
    Top = 13
    DataBinding.DataField = 'name'
    DataBinding.DataSource = MainDataSource
    TabOrder = 5
    Width = 175
  end
  object EdtCode: TcxDBTextEdit [5]
    Left = 78
    Top = 13
    DataBinding.DataField = 'code'
    DataBinding.DataSource = MainDataSource
    TabOrder = 0
    Width = 175
  end
  object EdtExplan: TcxDBTextEdit [6]
    Left = 78
    Top = 47
    DataBinding.DataField = 'explan'
    DataBinding.DataSource = MainDataSource
    TabOrder = 6
    Width = 428
  end
  object grdTransitDtl: TcxGrid [7]
    Left = 12
    Top = 89
    Width = 493
    Height = 177
    Anchors = [akLeft, akTop, akRight, akBottom]
    TabOrder = 3
    OnEnter = grdTransitDtlEnter
    object viewTransitDtl: TcxGridDBTableView
      PopupMenu = pmDetail
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = DetailDs
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.FocusCellOnTab = True
      OptionsBehavior.FocusFirstCellOnNewRecord = True
      OptionsBehavior.GoToNextCellOnEnter = True
      OptionsBehavior.FocusCellOnCycle = True
      OptionsData.Appending = True
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      object viewTransitDtlorderno: TcxGridDBColumn
        DataBinding.FieldName = 'orderno'
        HeaderAlignmentHorz = taCenter
        Width = 66
      end
      object viewTransitDtlareaid: TcxGridDBColumn
        DataBinding.FieldName = 'areaid'
        HeaderAlignmentHorz = taCenter
      end
    end
    object lvlTransitDtl: TcxGridLevel
      GridView = viewTransitDtl
    end
  end
  inherited MainDataSource: TDataSource
    Left = 26
    Top = 195
  end
  object MainDataSet: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from td_transit')
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    Left = 22
    Top = 248
    object MainDataSetid: TIntegerField
      FieldName = 'transitid'
    end
    object MainDataSetcode: TStringField
      DisplayLabel = #32534#30721
      FieldName = 'code'
      Size = 40
    end
    object MainDataSetname: TStringField
      DisplayLabel = #21517#31216
      FieldName = 'name'
      Size = 60
    end
    object MainDataSetexplan: TStringField
      DisplayLabel = #35828#26126
      FieldName = 'explan'
      Size = 200
    end
  end
  object qryDetail: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from td_transitdtl')
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    OnNewRecord = qryDetailNewRecord
    Left = 180
    Top = 221
    object qryDetailorderno: TIntegerField
      DisplayLabel = #24207#21495
      FieldName = 'orderno'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qryDetailid: TIntegerField
      FieldName = 'transitid'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qryDetailaredid: TIntegerField
      DisplayLabel = #22320#21306
      FieldName = 'areaid'
    end
  end
  object DetailDs: TDataSource
    DataSet = qryDetail
    Left = 148
    Top = 177
  end
  object pmDetail: TPopupMenu
    Left = 240
    Top = 128
    object muAppend: TMenuItem
      Caption = #26032#22686
      OnClick = muAppendClick
    end
    object muDelete: TMenuItem
      Caption = #21024#38500
      OnClick = muDeleteClick
    end
  end
end
